package vo;

import java.io.Serializable;

public class News implements Serializable {

     private int id ;
  private  String title;
  private  String content;
  private String  auther;
  private  String time;

    public News() {
    }

    public News(int id, String title, String content, String auther, String time) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.auther = auther;
        this.time = time;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAuther() {
        return auther;
    }

    public void setAuther(String auther) {
        this.auther = auther;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
